<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:s="http://jboss.com/products/seam/taglib">
<head>
<title>#{messages['titlebar.text']}</title>
<link href="themes/default/css/global.css" rel="stylesheet"
	type="text/css" />
<link rel="shortcut icon" href="themes/default/images/favicon.ico" />
</head>
<body>
<br />
<br />
<br />
<br />
<br />
<br />
<h:form id="loginForm">
	<table width="443" height="300" align="center" cellpadding="0"
		cellspacing="0"
		background="#{contextPath}/themes/default/images/bg-login.jpg">
		<tr>
			<td align="center">
			<table width="345" border="0">
				<tr>
					<td><img
						src="#{contextPath}/themes/default/images/icons/ico-sprite-key.png"
						width="16" height="16" /></td>
					<td>&nbsp;</td>
					<td><b class="rad-framework-login-title">#{messages['titlebar.text']} Login</b></td>
				</tr>
			</table>
			<br />
			<br />

			<table cellpadding="5" cellspacing="0">
				<tr>
					<td class="rad-framework-login-label">#{messages['Username']}</td>
					<td><h:inputText id="user"
						styleClass="rad-framework-login-input-field rad-framework-form-input-field" value="#{identity.username}" />
					</td>
				</tr>
				<tr>
					<td class="rad-framework-login-label">#{messages['Password']}</td>
					<td><h:inputSecret id="password"
						styleClass="rad-framework-login-input-field rad-framework-form-input-field" value="#{identity.password}" />
					</td>
				</tr>
				<tr>
					<td></td>
				</tr>
				<tr>
					<td colspan="2" align="right"><h:commandLink id="login"
						styleClass="rad-framework-button-left" action="#{identity.login}">
						<span><h:outputText value="#{messages['Login']}" /></span>
						<s:defaultAction />
					</h:commandLink></td>
				</tr>
			</table>
			</td>
		</tr>
	</table>
</h:form>
<table width="443" cellpadding="0" cellspacing="0" align="center">
	<tr>
		<td></td>
	</tr>
	<tr>
		<td class="rad-framework-copyright">&#169;&#160;<h:outputText
			value="#{org.jboss.seam.framework.currentDatetime}">
			<f:convertDateTime type="date" pattern="yyyy" />
		</h:outputText>&#160;#{messages['footer.text']}</td>
	</tr>

</table>
</body>
</html>